export type AlertType = 'danger' | 'info' | 'success' | 'warning';

export interface AlertProps {
  title: string;
  type: AlertType;
  closable?: boolean;
  effect?: 'light' | 'dark';
  closeText?: string;
  showIcon?: boolean;
  center?: boolean;
  description?: string;
}

export interface AlertEmits {
  (e: 'closeAlert', values: boolean): void;
}